class R {
  constructor(IsSuccess = true, Code = 200, Message = "", Result = null) {
    this.Code = Code;
    this.Message = Message;
    this.Result = Result;
  }
  setIsSuccess(IsSuccess) {
    this.IsSuccess = IsSuccess;
    return this;
  }
  setCode(Code) {
    this.Code = Code;
    return this;
  }
  setMessage(Message) {
    this.Message = Message;
    return this;
  }

  setResult(Result) {
    this.Result = Result;
    return this;
  }
}

module.exports = R;
